home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
progjour
/
1991
/
06
/
alib
/
f_size.asm
< prev
next >
Wrap
Assembly Source File
|
1991-06-25
|
333b
|
25 lines
include asm.inc
public current_file_size
.code
extn ms_dos_strerror
;; current file size
;
; entry BX file handle
; exit DX AX file size
; Cf if unexpected file error
;
current_file_size proc
push cx
mov ax,4202h
xor cx,cx
xor dx,dx
call ms_dos_strerror
pop cx
ret
current_file_size endp
end